package com.huayal.mall.product.fegin;

import com.huayal.common.vo.es.SkuHasStockDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeginService {

    @PostMapping("/ware/waresku/skuHasStock")
    public List<SkuHasStockDTO> SkuHasStock(@RequestBody List<Long> skuIds);
}
